package io.jt808.proto.item;


import io.norland.buffer.AutoBuffer;
import io.norland.proto.IProto;

public class PositionAdditional02Oil implements IProto {
    private int oil;

    public byte[] writeToBytes() {
        AutoBuffer buffer = new AutoBuffer();
        buffer.writeShort(this.oil);
        return new byte[0];
    }

    public void readFromBuf(AutoBuffer buffer) {
        this.oil = buffer.readShort();
    }
}